package com.deuwise.common.utils.poi;

/**
 * Copyright
 *
 *
 * @author chenwenchao
 * @date 2018/4/19 Description:
 * Excel工具类
 */
public class ExcelUtil {

    public static boolean isExcel2003(String filePath)
    {
        return filePath.matches("^.+\\.(?i)(xls)$");
    }

    public static boolean isExcel2007(String filePath)
    {
        return filePath.matches("^.+\\.(?i)(xlsx)$");
    }
}
